<?php

require_once 'smarty_lib/Smarty.class.php';
require_once 'lib/DBClass.php';
require_once 'lib/Member.php';

$smarty = new Smarty();
$acc = new Member();

$smarty->template_dir = 'template/';
$smarty->compile_dir = 'template_c/';

if(isset($_POST['submit'])){